home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr49 / 296_01.zip / SAMPL.CPP < prev    next >
C/C++ Source or Header  |  1993-04-01  |  499b  |  31 lines

  1. #include <stdio.h>
  2. typedef struct waldo { int i; float z; } FOOBAR;
  3. double x;
  4.  
  5. main(int argc,char *argv[])
  6.     {
  7.     float x = 2.0;
  8.     FOOBAR y;
  9.  
  10.     func1(x,y);
  11.     noargs();
  12.     weird();
  13.     }
  14.  
  15. double func1(float x,FOOBAR y,FOOBAR z,struct waldo *q,struct waldo r)
  16.     {
  17.     }
  18. int noargs(void)
  19.     {
  20.     }
  21. weird(void)
  22.     {
  23.     /* no args and defaults to int type func */
  24.     }
  25.  
  26. double * crazy(int ***q)
  27.     {
  28.     /* The func type is on the previous line! */
  29.     }
  30.  
  31.